from time import sleep

from selenium import webdriver


driver = webdriver.Firefox()
driver.get('http://www.youdao.com')

driver.find_element_by_name('q').send_keys('hello')
driver.find_element_by_name('q').submit()

sleep(10)

driver.quit()
